package com.qububu.emporium.orderform.service;

import java.util.List;
import java.util.Map;

import com.qububu.emporium.orderform.dto.OrderFormInfoDto;
import com.qububu.emporium.shoppingCart.dto.CartSaveGoodsMessageDto;

public interface OrderFormService {
	
	public boolean doAddOrderForm(OrderFormInfoDto orderFormInfoDto, Map<String, CartSaveGoodsMessageDto> goodsMap);

	public String genOrderFormNumber();
	
	public List<OrderFormInfoDto> getOrderFormListByOrderStatus(int status);

	public List<CartSaveGoodsMessageDto> getGoodsListByOrderNo(String orderNo);
	
	public void doChangeOrderStatus(String orderId,int status);
	
	public List<OrderFormInfoDto> getQueryOrderListByUserId(String userId);

	public OrderFormInfoDto getQueryOrderInfoDetalByOrderNo(String orderNo);

	public void doDeleteOrderFormByOrderNo(String orderNo);
	
}
